﻿namespace YAPACS.RisServer.Services.Dtos;

public class ArchiveDto
{
    public Guid Oid { get; set; }
    public string ExamId { get; set; }
    /// <summary>
    /// 检查号
    /// </summary>
    public string AccessionNumber { get; set; }
    public string StudyInstanceUid { get; set; }
    /// <summary>
    /// 就诊卡号
    /// </summary>
    public string MedicalCardNumber { get; set; }

    /// <summary>
    /// 申请单号
    /// </summary>
    public string ApplyNumber { get; set; }

    /// <summary>
    /// 单据号
    /// </summary>
    public string BillNumber { get; set; }

    /// <summary>
    /// 发票号
    /// </summary>
    public string InvoiceNumber { get; set; }
    /// <summary>
    /// 流水号
    /// </summary>
    public string OperationNumber { get; set; }
    /// <summary>
    /// 外部编号
    /// </summary>
    public string OuterNumber { get; set; }
    /// <summary>
    /// 年龄
    /// </summary>
    public int AgeValue { get; set; }

    /// <summary>
    /// 年龄单位
    /// </summary>
    public string AgeUnit { get; set; }

    /// <summary>
    /// 年龄
    /// </summary>
    public string Age { get; set; }

    /// <summary>
    /// 身高
    /// </summary>
    public int Height { get; set; }

    /// <summary>
    /// 体重
    /// </summary>
    public int Weight { get; set; }

    /// <summary>
    /// 患者来自
    /// </summary>
    public string PatientFrom { get; set; }

    /// <summary>
    /// 患者类型
    /// </summary>
    public string PatientType { get; set; }

    /// <summary>
    /// 病案号
    /// </summary>
    public string MedicalRecordNumber { get; set; }
    /// <summary>
    /// 体检号
    /// </summary>
    public string PhysicalExamNumber { get; set; }

    /// <summary>
    /// 门诊号
    /// </summary>
    public string OutPatientNumber { get; set; }

    /// <summary>
    /// 住院号
    /// </summary>
    public string InPatientNumber { get; set; }

    /// <summary>
    /// 病区
    /// </summary>
    public string InPatientArea { get; set; }

    /// <summary>
    /// 病房号
    /// </summary>
    public string WardNumber { get; set; }

    /// <summary>
    /// 床位号
    /// </summary>
    public string BedNumber { get; set; }

    /// <summary>
    /// 申请医生
    /// </summary>
    public string ApplyDoctor { get; set; }

    /// <summary>
    /// 申请科室
    /// </summary>
    public string ApplyDepartmentText { get; set; }
    public string ApplyDepartment { get; set; }

    /// <summary>
    /// 申请日期
    /// </summary>
    public DateTime? ApplyTime { get; set; }

    /// <summary>
    /// 检查助手
    /// </summary>
    public string ExamHelper { get; set; }

    /// <summary>
    /// 检查助手2
    /// </summary>
    public string ExamHelper2 { get; set; }


    /// <summary>
    /// 检查助手3
    /// </summary>
    public string ExamHelper3 { get; set; }

    /// <summary>
    /// 检查技师
    /// </summary>
    public string ExamOperator { get; set; }

    /// <summary>
    /// 检查方法文本
    /// </summary>
    public string ExamMethodsText { get; set; }
    public string ExamMethods { get; set; }

    /// <summary>
    /// 检查部位
    /// </summary>
    public string ExamBodyPartiesText { get; set; }
    public string ExamBodyParties { get; set; }

    /// <summary>
    /// 检查项目
    /// </summary>
    public string ExamItemsText { get; set; }
    public string ExamItems { get; set; }

    /// <summary>
    /// 患者特征
    /// </summary>
    public string PatientFeaturesText { get; set; }
    public string PatientFeatures { get; set; }

    /// <summary>
    /// 检查类别
    /// </summary>
    public string ExamCategoryText { get; set; }
    public string ExamCategory { get; set; }
    /// <summary>
    /// 检查记录参数
    /// </summary>
    public string ExamRecordParams { get; set; }
    /// <summary>
    /// 检查记录参数Schema
    /// </summary>
    public string ExamRecordParamsSchema { get; set; }
    /// <summary>
    /// 临床诊断
    /// </summary>
    public string ClinicalDiagnosis { get; set; }

    /// <summary>
    /// 现病史
    /// </summary>
    public string MedicalHistory { get; set; }

    /// <summary>
    /// 患者主诉
    /// </summary>
    public string ChiefComplaint { get; set; }

    /// <summary>
    /// 过敏史
    /// </summary>
    public string AllergyHistory { get; set; }
    /// <summary>
    /// 从事职业
    /// </summary>
    public string Profession { get; set; }

    /// <summary>
    /// 婚姻状况
    /// </summary>
    public string MaritalStatus { get; set; }

    /// <summary>
    /// 月经史
    /// </summary>
    public string MenstrualHistory { get; set; }

    /// <summary>
    /// 末次月经
    /// </summary>
    public DateTime? LastMenstruationDate { get; set; }

    /// <summary>
    /// 孕周
    /// </summary>
    public string GestationalWeek { get; set; }

    /// <summary>
    /// 预产期
    /// </summary>
    public DateTime? ChildbirthDate { get; set; }

    /// <summary>
    /// 是否怀孕
    /// </summary>
    public bool IsPregnancy { get; set; }

    /// <summary>
    /// 急诊患者
    /// </summary>
    public bool IsEmergency { get; set; }

    /// <summary>
    /// 危重患者
    /// </summary>
    public bool IsCritical { get; set; }

    /// <summary>
    /// 敏感患者
    /// </summary>
    public bool IsSensitive { get; set; }
    /// <summary>
    /// 绿通患者
    /// </summary>
    public bool IsGreenChannel { get; set; }

    /// <summary>
    /// 会诊患者
    /// </summary>
    public bool IsConsultation { get; set; }


    public bool IsShared { get; set; }

    public string SharedSign { get; set; }

    public int SharedLevel { get; set; }

    /// <summary>
    /// 检查备注
    /// </summary>
    public string ExamRemarksText { get; set; }
    /// <summary>
    /// 开始时间
    /// </summary>
    public DateTime? StartTime { get; set; }

    /// <summary>
    /// 完成时间
    /// </summary>
    public DateTime? CompletedTime { get; set; }

    /// <summary>
    /// 登记时间
    /// </summary>
    public DateTime RegisterTime { get; set; }

    /// <summary>
    /// 检查费用
    /// </summary>
    public float? ExamFee { get; set; }
    /// <summary>
    /// 检查标记文本
    /// </summary>
    public string ExamFlagsText { get; set; }
    /// <summary>
    /// 检查科室
    /// </summary>
    public string ExamDepartment { get; set; }

    /// <summary>
    /// 检查时间
    /// </summary>
    public DateTime? ExamTime { get; set; }

    /// <summary>
    /// 检查设备
    /// </summary>
    public string ExamDeviceText { get; set; }
    public string ExamDevice { get; set; }
    /// <summary>
    /// 设备类型文本
    /// </summary>
    public string DeviceTypeText { get; set; }
    public string DeviceType { get; set; }

    /// <summary>
    /// 科室
    /// </summary>
    public string DepartmentText { get; set; }
    public string Department { get; set; }
    /// <summary>
    /// 专家组
    /// </summary>
    public string ExpertGroup { get; set; }

    /// <summary>
    /// 检查站点名称
    /// </summary>
    public string ExamStationName { get; set; }

    /// <summary>
    /// 检查诊室名称
    /// </summary>
    public string ExamRoomName { get; set; }


    /// <summary>
    /// 患者Id
    /// </summary>
    public string PatientId { get; set; }

    /// <summary>
    /// 姓名
    /// </summary>
    public string PatientName { get; set; }

    /// <summary>
    /// 曾用名
    /// </summary>
    public string OldName { get; set; }

    /// <summary>
    /// 亲属姓名
    /// </summary>
    public string ParentName { get; set; }

    /// <summary>
    /// 姓名拼音
    /// </summary>
    public string NamePinYin { get; set; }

    /// <summary>
    /// 性别
    /// </summary>
    public string Sex { get; set; }

    /// <summary>
    /// 出生日期
    /// </summary>
    public DateTime? BirthDate { get; set; }

    /// <summary>
    /// 证件类型
    /// </summary>
    public string IdCardType { get; set; }

    /// <summary>
    /// 证件号码
    /// </summary>
    public string IdCardNumber { get; set; }

    /// <summary>
    /// 医保卡类型
    /// </summary>
    public string MedicalInsuranceType { get; set; }

    /// <summary>
    /// 医保卡号
    /// </summary>
    public string MedicalInsuranceNumber { get; set; }
    public string ElectronicHealthCode { get; set; }
    /// <summary>
    /// 患者主索引
    /// </summary>
    public string PatientEMPI { get; set; }
    /// <summary>
    /// 区域患者主索引
    /// </summary>
    public string GlobalEMPI { get; set; }
    /// <summary>
    /// 联系方式
    /// </summary>
    public string PhoneNumber { get; set; }

    /// <summary>
    /// 联系方式2
    /// </summary>
    public string PhoneNumber2 { get; set; }

    /// <summary>
    /// 家庭住址
    /// </summary>
    public string Address { get; set; }

    /// <summary>
    /// 民族
    /// </summary>
    public string EthnicGroup { get; set; }

    public string ReportId { get; set; }
    /// <summary>
    /// 检查结果
    /// </summary>
    public string ExamResult { get; set; }

    /// <summary>
    /// 影像所见
    /// </summary>
    public string ImageSeeing { get; set; }

    /// <summary>
    /// 影像诊断
    /// </summary>
    public string ImageDiagnosis { get; set; }

    /// <summary>
    /// 影像意见
    /// </summary>
    public string ImageOpinion { get; set; }
    /// <summary>
    /// 报告扩展
    /// </summary>
    public string ReportExtending { get; set; }

    /// <summary>
    /// 扩展amis schema
    /// </summary>
    public string ReportExtendingSchema { get; set; }

    public bool IsFollowup { get; set; }
    /// <summary>
    /// 随访结果
    /// </summary>
    public string FollowupResult { get; set; }

    /// <summary>
    /// 随访记录
    /// </summary>
    public string FollowupRecord { get; set; }

    /// <summary>
    /// 随访记录Schema
    /// </summary>
    public string FollowupRecordSchema { get; set; }

    /// <summary>
    /// 回访时间
    /// </summary>
    public DateTime? RevisitTime { get; set; }

    /// <summary>
    /// 实际回访时间
    /// </summary>
    public DateTime? ActualRevisitTime { get; set; }

    /// <summary>
    /// 回访备注
    /// </summary>
    public string RevisitRemark { get; set; }

    /// <summary>
    /// 回访记录
    /// </summary>
    public string RevisitRecord { get; set; }

    /// <summary>
    /// 回访记录Schema
    /// </summary>
    public string RevisitRecordSchema { get; set; }

    /// <summary>
    /// 初写医生
    /// </summary>
    public string InitialWritingDoctor { get; set; }

    /// <summary>
    /// 初写机构
    /// </summary>
    public string InitialWritingInstitution { get; set; }

    /// <summary>
    /// 初写开始时间
    /// </summary>
    public DateTime? InitialWritingStartTime { get; set; }

    /// <summary>
    /// 初写时间
    /// </summary>
    public DateTime? InitialWritingTime { get; set; }

    /// <summary>
    /// 报告医生
    /// </summary>
    public string ReportDoctor { get; set; }

    /// <summary>
    /// 报告机构
    /// </summary>
    public string ReportInstitution { get; set; }

    /// <summary>
    /// 报告开始时间
    /// </summary>
    public DateTime? ReportStartTime { get; set; }

    /// <summary>
    /// 报告时间
    /// </summary>
    public DateTime? ReportTime { get; set; }

    /// <summary>
    /// 审核医生
    /// </summary>
    public string AuditDoctor { get; set; }

    /// <summary>
    /// 审核机构
    /// </summary>
    public string AuditInstitution { get; set; }

    /// <summary>
    /// 审核开始时间
    /// </summary>
    public DateTime? AuditStartTime { get; set; }

    /// <summary>
    /// 审核时间
    /// </summary>
    public DateTime? AuditTime { get; set; }

    /// <summary>
    /// 复核医生
    /// </summary>
    public string ReviewDoctor { get; set; }

    /// <summary>
    /// 复核机构
    /// </summary>
    public string ReviewInstitution { get; set; }

    /// <summary>
    /// 复核开始时间
    /// </summary>
    public DateTime? ReviewStartTime { get; set; }

    /// <summary>
    /// 复核时间
    /// </summary>
    public DateTime? ReviewTime { get; set; }

    /// <summary>
    /// 完成时间
    /// </summary>
    public DateTime? ReportCompletedTime { get; set; }

    /// <summary>
    /// 打印次数
    /// </summary>
    public int PrintingTimes { get; set; }

    /// <summary>
    /// 最后打印时间
    /// </summary>
    public DateTime? LastPrintingTime { get; set; }
    /// <summary>
    /// 是否存在危急值
    /// </summary>
    public bool ReportPanicValue { get; set; }
    /// <summary>
    /// 图像质量
    /// </summary>
    public string ReportImageQuality { get; set; }

    /// <summary>
    /// ICD10
    /// </summary>
    public string ICD10s { get; set; }

    /// <summary>
    /// ACRs
    /// </summary>
    public string ACRs { get; set; }

    /// <summary>
    /// 报告文件
    /// </summary>
    public string ReportUrlBase { get; set; }

    /// <summary>
    /// 报告URL
    /// </summary>
    public string ReportUrl { get; set; }
    /// <summary>
    /// 报告图像路径
    /// </summary>
    public string ReportImagesPathBase { get; set; }
    /// <summary>
    /// 报告图像路径
    /// </summary>
    public string ReportImagesPath { get; set; }
    /// <summary>
    /// 报告图像路径
    /// </summary>
    public string ReportVideosPathBase { get; set; }
    /// <summary>
    /// 报告视频路径
    /// </summary>
    public string ReportVideosPath { get; set; }
}
